package com.meituan.service;

import com.github.pagehelper.PageInfo;
import com.meituan.model.GoodsEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsService {
    List<GoodsEntity> findByShopId(String shopId);
    Integer save(GoodsEntity goodsEntity);
    PageInfo<GoodsEntity> findPageByShopIdWithClassify(String merchantId, Integer pageNum, Integer pageSize);
    Integer delGoods(String goodsId);
    Integer editGoods(GoodsEntity goodsEntity);
    List<GoodsEntity> findByClassifyId(String GoodsClassifyId);
    Integer updateGoodsImg( String goodsImg, String goodsId);
}
